package com.graph.dto;

public class GeneticAlgorithmDto {
	/**
	 * 遗传算法迭代次数
	 */
	private Integer T1;
	public Integer getT1() {
		return T1;
	}
	public void setT1(Integer t1) {
		T1 = t1;
	}
	public Integer getT2() {
		return T2;
	}
	public void setT2(Integer t2) {
		T2 = t2;
	}
	public Integer getL() {
		return L;
	}
	public void setL(Integer l) {
		L = l;
	}
	public double getK() {
		return K;
	}
	public void setK(double k) {
		K = k;
	}
	public Integer getInitNum() {
		return initNum;
	}
	public void setInitNum(Integer initNum) {
		this.initNum = initNum;
	}
	public Integer getCommunityNum() {
		return communityNum;
	}
	public void setCommunityNum(Integer communityNum) {
		this.communityNum = communityNum;
	}
	/**
	 * 退火算法迭代次数
	 */
	private Integer T2;
	/**
	 * 退火算法每次迭代次数
	 */
	private Integer L;
	/**
	 * 退火系数
	 */
	private double K=0;
	/**
	 * 初始化染色体数量
	 */
	private Integer initNum;
    /**
     * 希望划分社区数量
     */
	private Integer communityNum;
	
	public Boolean isFinishbind(){
		if(L==null||T1==null||L==null||communityNum==null||initNum==null){
			return false;
		}
		return true;
	}
}
